package com.example.springboot.service.impl;

import com.example.springboot.mapper.CountMapper;
import com.example.springboot.pojo.Count;
import com.example.springboot.service.CountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CountServiceImpl implements CountService {
    @Autowired
    CountMapper countMapper;
    public Count findAll() {
        return countMapper.findAll();
    }

    @Override
    public int updateDianZan() {
        return countMapper.updateDianZan();
    }

    @Override
    public int updatePingLUn() {
        return countMapper.updatePingLun();
    }

    @Override
    public int cancelDrag() {

        return countMapper.cancelDrag();
    }


}
